]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: Support double-super when animations are off
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Apr 2021 10:00:12 +0000 (12:00 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 19 Apr 2021 20:24:54 +0000 (20:24 +0000)
commit28723ac088835cccd23447c8d718bdca8e6aebf0
tree891ada3e89022a5e42977c394788f9f8c54c9037
parentd8231413601e930a4435734160fc0f44869f3a3f
overviewControls: Support double-super when animations are off

When super is pressed again during the overview transition, we shift
up to the app grid. That means that the feature currently doesn't
work when animations are disabled (like in a VM), because there is
no transition in that case.

Address this by adding a time-based fallback in that case, i.e.
shift up when a second super-press occurs within 250ms after the
first one.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4121

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1811>
js/ui/overviewControls.js